package org.gemstone.panel;

import java.awt.CardLayout;

import javax.swing.JPanel;

import com.updateNew.MyIsif;

/**
 * 宝石操作主面板卡片布局
 *
 * @author Administrator
 *
 */
public class GemstoneOperationMainCardPanel extends JPanel {
	private CardLayout cardLayout;
	private GemstoneOperationSynthesisPanel gemstoneOperationSynthesisPanel;
	private GemstoneOperationAppraisalAndRecastPanel gemstoneOperationAppraisalAndRecastPanel;

	public GemstoneOperationMainCardPanel() {
		cardLayout = new CardLayout();

			this.setBounds(47, 45, 310, 260);

		this.setOpaque(false);
		this.setLayout(cardLayout);
		gemstoneOperationSynthesisPanel = new GemstoneOperationSynthesisPanel();
		gemstoneOperationAppraisalAndRecastPanel = new GemstoneOperationAppraisalAndRecastPanel();
		this.add(gemstoneOperationSynthesisPanel, "synthesis");
		// this.add(GemstoneOperationAppraisalPanel.getGemstoneOperationAppraisalPanel(),"appraisal");
		this.add(gemstoneOperationAppraisalAndRecastPanel, "appraisalAndRecast");

	}

	public CardLayout getCardLayout() {
		return cardLayout;
	}

	public void setCardLayout(CardLayout cardLayout) {
		this.cardLayout = cardLayout;
	}

	public GemstoneOperationSynthesisPanel getGemstoneOperationSynthesisPanel() {
		return gemstoneOperationSynthesisPanel;
	}

	public void setGemstoneOperationSynthesisPanel(GemstoneOperationSynthesisPanel gemstoneOperationSynthesisPanel) {
		this.gemstoneOperationSynthesisPanel = gemstoneOperationSynthesisPanel;
	}

	public GemstoneOperationAppraisalAndRecastPanel getGemstoneOperationAppraisalAndRecastPanel() {
		return gemstoneOperationAppraisalAndRecastPanel;
	}

	public void setGemstoneOperationAppraisalAndRecastPanel(
			GemstoneOperationAppraisalAndRecastPanel gemstoneOperationAppraisalAndRecastPanel) {
		this.gemstoneOperationAppraisalAndRecastPanel = gemstoneOperationAppraisalAndRecastPanel;
	}

}
